package o;

import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Outline;
import android.graphics.drawable.Drawable;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import androidx.appcompat.widget.ActionBarContainer;

public class by extends Drawable {
    final ActionBarContainer ˊ;

    public by(ActionBarContainer actionBarContainer) {
        this.ˊ = actionBarContainer;
    }

    public void draw(Canvas canvas) {
        if (!this.ˊ.ˏ) {
            if (this.ˊ.ˋ != null) {
                this.ˊ.ˋ.draw(canvas);
            }
            if (this.ˊ.ˎ != null && this.ˊ.ˊ) {
                this.ˊ.ˎ.draw(canvas);
            }
        } else if (this.ˊ.ॱ != null) {
            this.ˊ.ॱ.draw(canvas);
        }
    }

    public void setAlpha(int i) {
    }

    public void setColorFilter(ColorFilter colorFilter) {
    }

    public int getOpacity() {
        return 0;
    }

    @RequiresApi(21)
    public void getOutline(@NonNull Outline outline) {
        if (this.ˊ.ˏ) {
            if (this.ˊ.ॱ != null) {
                this.ˊ.ॱ.getOutline(outline);
            }
        } else if (this.ˊ.ˋ != null) {
            this.ˊ.ˋ.getOutline(outline);
        }
    }
}
